<template>
	<view>

		<button class="banmi_switch_sub banmi_flex" :class="is_state==is_type?'':'j-f'">
			<view class="banmi_switch" :class="is_state!=is_type?'banmi_switch_button_selected':'banmi_switch_button'">
			</view>
		</button>
	</view>
</template>

<script>
	export default {
		name: "banmi-switch",
		props: {
			is_state: {
				type: [Number,String],
				default: 0,
			},
			is_type: {
				type: [Number,String],
				default: 0,
			},
		},
		data() {
			return {

			};
		}
	}
</script>

<style>
button{
	padding: 0;
}
</style>